/**
 * output package name
 */
package com.kingdee.eas.ec.garden.invite;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class InviteEnum extends IntEnum
{
    public static final int MATERIAL_VALUE = 2;
    public static final int TREE_VALUE = 21;
    public static final int SWARD_VALUE = 22;

    public static final InviteEnum material = new InviteEnum("material", MATERIAL_VALUE);
    public static final InviteEnum tree = new InviteEnum("tree", TREE_VALUE);
    public static final InviteEnum sward = new InviteEnum("sward", SWARD_VALUE);

    /**
     * construct function
     * @param integer inviteEnum
     */
    private InviteEnum(String name, int inviteEnum)
    {
        super(name, inviteEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static InviteEnum getEnum(String inviteEnum)
    {
        return (InviteEnum)getEnum(InviteEnum.class, inviteEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static InviteEnum getEnum(int inviteEnum)
    {
        return (InviteEnum)getEnum(InviteEnum.class, inviteEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(InviteEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(InviteEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(InviteEnum.class);
    }
}